package com.hcj.springcloud.PrototypePattern;

/**
 * 正方体
 */
public class Square extends Shape {

    public Square() {
        type = "Square";
    }

    @Override
    void draw() {
        System.out.println("Square:: draw() method.");
    }
}
